import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const state = {
	username:'12',
	userToken:'',
	loginState:false
};
const mutations={
	loginStatus({state},payload){
		state.username = payload.username
		state.loginState = payload.loginState
		state.userToken = payload.userToken
	}
};
const actions={};
const getters={};
export default {
    state,
    mutations,
    actions,
    getters
}